// stdafx.cpp : source file that includes just the standard includes
//	ALVIR.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

DWORD MakeIP(CString strIP)
{
	BYTE by1, by2, by3, by4;
	by1 = atoi(strIP);
	int nPunto = strIP.Find(".")+1;
	by2 =atoi(strIP.Right(strIP.GetLength()-nPunto));
	nPunto = strIP.Find(".", nPunto)+1;
	by3 =atoi(strIP.Right(strIP.GetLength()-nPunto));
	nPunto = strIP.Find(".", nPunto)+1;
	by4 =atoi(strIP.Right(strIP.GetLength()-nPunto));
	return MakeIP(by1, by2, by3, by4);
}


